package com.sghd.pojo.fight.game;

/**
 * @author frank
 * @date 2019-01-18 17:17
 * @desc
 **/
public class RsetSkillVo extends Sn {
    private long playerId;
    private int randomCount;
    private int lockCount;
    /** 结果*/
    private Result<Object> result;

    public static RsetSkillVo valueOf(long playerId, int randomCount, int lockCount) {
        RsetSkillVo rsetSkillVo = new RsetSkillVo();
        rsetSkillVo.randomCount = randomCount;
        rsetSkillVo.lockCount = lockCount;
        rsetSkillVo.playerId = playerId;
        return rsetSkillVo;
    }

    public int getRandomCount() {
        return randomCount;
    }

    public void setRandomCount(int randomCount) {
        this.randomCount = randomCount;
    }

    public int getLockCount() {
        return lockCount;
    }

    public void setLockCount(int lockCount) {
        this.lockCount = lockCount;
    }

    public Result<Object> getResult() {
        return result;
    }

    public RsetSkillVo setResult(Result<Object> result) {
        this.result = result;
        return this;
    }

    public long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(long playerId) {
        this.playerId = playerId;
    }
}
